<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<title tal:content="pagedata/title">MicroTal example3</title>
	</head>
	<body>
		<div style="padding:30px;">
			<table>
				<tr tal:repeat="row table">
					<tal:block tal:define="color string:color:blue;"/>
					<tal:block tal:condition="path:repeat/row/start">
					<tal:block tal:define="color string:color:green;"/>
					</tal:block>

					<tal:block tal:define="background string:"/>
					<tal:block tal:condition="path:repeat/row/odd">
					<tal:block tal:define="background string:background:gray;"/>
					</tal:block>

					<tal:block tal:define="text string:"/>
					<tal:block tal:condition="path:repeat/row/end">
					<tal:block tal:define="text string:text-decoration:underline;"/>
					</tal:block>
					<tal:block tal:define="style string:${color}${background}${text}"/>

					<th tal:attributes="style path:style" tal:repeat="cell row" tal:condition="path:repeat/row/start" tal:content="cell" />
					<td tal:attributes="style path:style" tal:repeat="cell row" tal:condition="not:path:repeat/row/start" tal:content="cell" />
				</tr>
			</table>

			<table>
				<tr>
					<th>key</th>
					<th>index</th>
					<th>number</th>
					<th>even</th>
					<th>odd</th>
					<th>start</th>
					<th>end</th>
					<th>letter</th>
					<th>Letter</th>
					<th>roman</th>
					<th>Roman</th>
					<th>Stupid</th>
				</tr>
				<tr tal:repeat="row table">
					<td tal:content="repeat/row/key" />
					<td tal:content="repeat/row/index" />
					<td tal:content="repeat/row/number" />
					<td tal:content="repeat/row/even" />
					<td tal:content="repeat/row/odd" />
					<td tal:content="repeat/row/start" />
					<td tal:content="repeat/row/end" />
					<td tal:content="repeat/row/letter" />
					<td tal:content="repeat/row/Letter" />
					<td tal:content="repeat/row/roman" />
					<td tal:content="repeat/row/Roman" />
					<td tal:content="${repeat/row/key}" />
				</tr>
			</table>
		</div>
	</body>
</html>
